package com.tang.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class talkDto {
    //说说主键
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //内容
    private String talkTitle;
    //内容图片
    private String talkImage;

    //置顶默认为1 置顶为0
    private Integer isTop;
    private Integer status;
    private Date createTime;

    //创建人名称
    private String createPe;

}
